<div class="btn-group pull-right">
  <%= link_to 'Cancel', back_path, class: 'btn btn-default' %>
  <%= f.submit class: 'btn btn-primary' %>
</div>